summaryrefslogtreecommitdiffstats
path: root/parts/tools/tools_part.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:54 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:54 -0600
commitda1522385e5367bae56b90fac55c4355e475905b (patch)
treebfa432864dbf322feb4ed3a878f1222ee8ea7727 /parts/tools/tools_part.cpp
parentb9e542d0c805e9adee3a67e44532d5321032e21e (diff)
downloadtdevelop-da1522385e5367bae56b90fac55c4355e475905b.tar.gz
tdevelop-da1522385e5367bae56b90fac55c4355e475905b.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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");