summaryrefslogtreecommitdiffstats
path: root/buildtools/script/scriptprojectpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/script/scriptprojectpart.cpp')
-rw-r--r--buildtools/script/scriptprojectpart.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/buildtools/script/scriptprojectpart.cpp b/buildtools/script/scriptprojectpart.cpp
index ef4fb16f..8f6b5fb4 100644
--- a/buildtools/script/scriptprojectpart.cpp
+++ b/buildtools/script/scriptprojectpart.cpp
@@ -23,32 +23,32 @@
#include <kiconloader.h>
#include <tdelocale.h>
#include <tdemessagebox.h>
-#include <tdevgenericfactory.h>
-#include <tdevcreatefile.h>
+#include <kdevgenericfactory.h>
+#include <kdevcreatefile.h>
#include <kdirwatch.h>
#include "domutil.h"
-#include "tdevcore.h"
-#include "tdevmainwindow.h"
-#include "tdevpartcontroller.h"
-#include "tdevlanguagesupport.h"
+#include "kdevcore.h"
+#include "kdevmainwindow.h"
+#include "kdevpartcontroller.h"
+#include "kdevlanguagesupport.h"
#include "scriptoptionswidget.h"
#include "scriptnewfiledlg.h"
-#include "tdevplugininfo.h"
+#include "kdevplugininfo.h"
-typedef TDevGenericFactory<ScriptProjectPart> ScriptProjectFactory;
-static const TDevPluginInfo data("tdevscriptproject");
-K_EXPORT_COMPONENT_FACTORY( libtdevscriptproject, ScriptProjectFactory( data ) )
+typedef KDevGenericFactory<ScriptProjectPart> ScriptProjectFactory;
+static const KDevPluginInfo data("kdevscriptproject");
+K_EXPORT_COMPONENT_FACTORY( libkdevscriptproject, ScriptProjectFactory( data ) )
ScriptProjectPart::ScriptProjectPart(TQObject *parent, const char *name, const TQStringList &)
- : TDevBuildTool(&data, parent, name ? name : "ScriptProjectPart")
+ : KDevBuildTool(&data, parent, name ? name : "ScriptProjectPart")
{
setInstance(ScriptProjectFactory::instance());
- setXMLFile("tdevscriptproject.rc");
+ setXMLFile("kdevscriptproject.rc");
// only create new file action if file creation part not available
- if (!extension<TDevCreateFile>("TDevelop/CreateFile")) {
+ if (!extension<KDevCreateFile>("TDevelop/CreateFile")) {
TDEAction *action;
action = new TDEAction( i18n("New File..."), 0,
this, TQT_SLOT(slotNewFile()),
@@ -148,7 +148,7 @@ void ScriptProjectPart::openProject(const TQString &dirName, const TQString &pro
}
} while (!s.isEmpty());
- TDevProject::openProject( dirName, projectName );
+ KDevProject::openProject( dirName, projectName );
}
@@ -192,7 +192,7 @@ DomUtil::PairList ScriptProjectPart::runEnvironmentVars() const
*/
TQString ScriptProjectPart::runDirectory() const
{
- TQString cwd = defaultRunDirectory("tdevscriptproject");
+ TQString cwd = defaultRunDirectory("kdevscriptproject");
if (cwd.isEmpty())
cwd = buildDirectory();
return cwd;