summaryrefslogtreecommitdiffstats
path: root/buildtools/script/scriptprojectpart.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
commit6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch)
treeab69e390f7962b7e7dda1a3a64f035c61c751cf4 /buildtools/script/scriptprojectpart.cpp
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
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;