summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/autoprojectpart.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-03-02 20:05:33 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-03-02 20:05:33 +0100
commit722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch)
treedb1b6b28566e5fe9accb4a688f7257673cecb080 /buildtools/autotools/autoprojectpart.cpp
parentafb74575caf7dd8ccb6c235b1c8d788e320c19da (diff)
downloadtdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz
tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip
Finish renaming tdevelop components
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;
}