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.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/parts/tools/tools_part.cpp b/parts/tools/tools_part.cpp
index 8734eadc..c6e4a242 100644
--- a/parts/tools/tools_part.cpp
+++ b/parts/tools/tools_part.cpp
@@ -19,14 +19,14 @@
#include <kprocess.h>
#include <tdetexteditor/document.h>
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevpartcontroller.h"
-#include "kdevappfrontend.h"
-#include "kdevplugininfo.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevpartcontroller.h"
+#include "tdevappfrontend.h"
+#include "tdevplugininfo.h"
#include "urlutil.h"
#include "configwidgetproxy.h"
-#include "kdeveditorutil.h"
+#include "tdeveditorutil.h"
#include "toolsconfig.h"
#include "toolsconfigwidget.h"
@@ -34,17 +34,17 @@
#define TOOLSSETTINGS 1
#define EXTRATOOLSSETTINGS 2
-static const KDevPluginInfo data("kdevtools");
-K_EXPORT_COMPONENT_FACTORY( libkdevtools, ToolsFactory( data ) )
+static const TDevPluginInfo data("tdevtools");
+K_EXPORT_COMPONENT_FACTORY( libtdevtools, ToolsFactory( data ) )
TQMap<int, TQString> externalToolMenuEntries;
ToolsPart::ToolsPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin( &data, parent, name ? name : "ToolsPart")
+ : TDevPlugin( &data, parent, name ? name : "ToolsPart")
{
setInstance(ToolsFactory::instance());
- setXMLFile("kdevpart_tools.rc");
+ setXMLFile("tdevpart_tools.rc");
m_configProxy = new ConfigWidgetProxy( core() );
m_configProxy->createGlobalConfigPage( i18n("Tools Menu"), TOOLSSETTINGS, info()->icon() );
@@ -128,11 +128,11 @@ void ToolsPart::startCommand(TQString cmdline, bool captured, TQString fileName)
if (project())
projectDirectory = project()->projectDirectory();
- TQString selection = KDevEditorUtil::currentSelection( doc );
+ TQString selection = TDevEditorUtil::currentSelection( doc );
if ( !selection.isEmpty() )
selection = KShellProcess::quote( selection );
- TQString word = KDevEditorUtil::currentWord( doc );
+ TQString word = TDevEditorUtil::currentWord( doc );
// This should really be checked before inserting into the popup
if (cmdline.contains("%D") && projectDirectory.isNull())
@@ -153,7 +153,7 @@ void ToolsPart::startCommand(TQString cmdline, bool captured, TQString fileName)
if (captured)
{
- if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend"))
+ if (TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("TDevelop/AppFrontend"))
appFrontend->startAppCommand(TQString(), cmdline, false);
}
else