summaryrefslogtreecommitdiffstats
path: root/parts/tools
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
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')
-rw-r--r--parts/tools/tools_part.cpp14
-rw-r--r--parts/tools/toolsconfig.cpp4
-rw-r--r--parts/tools/toolsconfigwidget.cpp4
3 files changed, 11 insertions, 11 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");
diff --git a/parts/tools/toolsconfig.cpp b/parts/tools/toolsconfig.cpp
index 5a8add6e..213ff02f 100644
--- a/parts/tools/toolsconfig.cpp
+++ b/parts/tools/toolsconfig.cpp
@@ -88,7 +88,7 @@ void ToolsConfig::fill()
{
_entries.clear();
- KConfig *config = ToolsFactory::instance()->config();
+ TDEConfig *config = ToolsFactory::instance()->config();
config->setGroup("Tools");
TQStringList list = config->readListEntry("Tools");
@@ -138,7 +138,7 @@ void ToolsConfig::toTree()
void ToolsConfig::accept()
{
- KConfig *config = ToolsFactory::instance()->config();
+ TDEConfig *config = ToolsFactory::instance()->config();
config->setGroup("Tools");
TQStringList l;
diff --git a/parts/tools/toolsconfigwidget.cpp b/parts/tools/toolsconfigwidget.cpp
index fefef501..ef34eb97 100644
--- a/parts/tools/toolsconfigwidget.cpp
+++ b/parts/tools/toolsconfigwidget.cpp
@@ -63,7 +63,7 @@ ToolsConfigWidget::~ToolsConfigWidget()
void ToolsConfigWidget::readGroup(const TQString &group, TQDict<ToolsConfigEntry> *entryDict)
{
- KConfig *config = ToolsFactory::instance()->config();
+ TDEConfig *config = ToolsFactory::instance()->config();
config->setGroup("External Tools");
TQStringList list = config->readListEntry(group);
@@ -85,7 +85,7 @@ void ToolsConfigWidget::readGroup(const TQString &group, TQDict<ToolsConfigEntry
void ToolsConfigWidget::storeGroup(const TQString &group, const TQDict<ToolsConfigEntry> &entryDict)
{
- KConfig *config = ToolsFactory::instance()->config();
+ TDEConfig *config = ToolsFactory::instance()->config();
TQStringList list;