summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/autoprojectpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/autotools/autoprojectpart.cpp')
-rw-r--r--buildtools/autotools/autoprojectpart.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/buildtools/autotools/autoprojectpart.cpp b/buildtools/autotools/autoprojectpart.cpp
index 6b408bd0..ae5453bc 100644
--- a/buildtools/autotools/autoprojectpart.cpp
+++ b/buildtools/autotools/autoprojectpart.cpp
@@ -45,34 +45,34 @@
#include <kprocess.h>
#include <domutil.h>
-#include <kdevcore.h>
-#include <kdevmakefrontend.h>
-#include <kdevappfrontend.h>
-#include <kdevmainwindow.h>
-#include <kdevpartcontroller.h>
+#include <tdevcore.h>
+#include <tdevmakefrontend.h>
+#include <tdevappfrontend.h>
+#include <tdevmainwindow.h>
+#include <tdevpartcontroller.h>
#include <makeoptionswidget.h>
#include <runoptionswidget.h>
#include <envvartools.h>
#include <configwidgetproxy.h>
-#include <kdevplugininfo.h>
+#include <tdevplugininfo.h>
#include <urlutil.h>
#define CONFIGURE_OPTIONS 1
#define RUN_OPTIONS 2
#define MAKE_OPTIONS 3
-static const KDevPluginInfo data("kdevautoproject");
+static const TDevPluginInfo data("tdevautoproject");
-K_EXPORT_COMPONENT_FACTORY( libkdevautoproject, AutoProjectFactory( data ) )
+K_EXPORT_COMPONENT_FACTORY( libtdevautoproject, AutoProjectFactory( data ) )
AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStringList &args)
- : KDevBuildTool(&data, parent, name ? name : "AutoProjectPart")
+ : TDevBuildTool(&data, parent, name ? name : "AutoProjectPart")
, m_lastCompilationFailed(false)
{
setInstance(AutoProjectFactory::instance());
- setXMLFile("kdevautoproject.rc");
+ setXMLFile("tdevautoproject.rc");
m_executeAfterBuild = false;
m_isKDE = (args[0] == "kde");
@@ -310,7 +310,7 @@ void AutoProjectPart::openProject(const TQString &dirName, const TQString &proje
"Project -> Project Options -> Run Options"), i18n("No active target specified"), "tdevelop_open_project_no_active_target");
}
- KDevProject::openProject( dirName, projectName );
+ TDevProject::openProject( dirName, projectName );
}
@@ -358,7 +358,7 @@ TQString AutoProjectPart::runDirectory() const
TQString cwd;
if( DomUtil::readBoolEntry(dom, "/kdevautoproject/run/useglobalprogram", false) || !m_widget->activeTarget() )
{
- cwd = defaultRunDirectory("kdevautoproject");
+ cwd = defaultRunDirectory("tdevautoproject");
}else
{
cwd = DomUtil::readEntry( dom, "/kdevautoproject/run/cwd/"+m_widget->activeTarget()->name );
@@ -585,7 +585,7 @@ TQStringList AutoProjectPart::allBuildConfigs() const
TQStringList allConfigs;
allConfigs.append("default");
- TQDomNode node = dom.documentElement().namedItem("kdevautoproject").namedItem("configurations");
+ TQDomNode node = dom.documentElement().namedItem("tdevautoproject").namedItem("configurations");
TQDomElement childEl = node.firstChild().toElement();
while (!childEl.isNull())
{
@@ -1075,7 +1075,7 @@ TQString AutoProjectPart::updateAdminDirectoryCommand() const
// Find the admin tarball
TDEStandardDirs dirs;
- dirs.addResourceType("apptemplates", TDEStandardDirs::kde_default("data") + "kdevappwizard/template-common/");
+ dirs.addResourceType("apptemplates", TDEStandardDirs::kde_default("data") + "tdevappwizard/template-common/");
source = dirs.findResource("apptemplates", "admin.tar.gz");
if (source != "") {
TQString cmdline = "rm -rf admin && tar -xzvf ";
@@ -1453,7 +1453,7 @@ bool AutoProjectPart::isKDE() const
return m_isKDE;
}
-KDevProject::Options AutoProjectPart::options() const
+TDevProject::Options AutoProjectPart::options() const
{
return UsesAutotoolsBuildSystem;
}