summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/autotools')
-rw-r--r--buildtools/autotools/autoprojectpart.cpp12
-rw-r--r--buildtools/autotools/autosubprojectview.cpp4
-rw-r--r--buildtools/autotools/kdevautoproject.rc2
3 files changed, 9 insertions, 9 deletions
diff --git a/buildtools/autotools/autoprojectpart.cpp b/buildtools/autotools/autoprojectpart.cpp
index e6e2e272..bb9a2e68 100644
--- a/buildtools/autotools/autoprojectpart.cpp
+++ b/buildtools/autotools/autoprojectpart.cpp
@@ -155,10 +155,10 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr
action = new KAction( i18n("Install (as root user)"), 0,
this, TQT_SLOT(slotInstallWithKdesu()),
- actionCollection(), "build_install_kdesu" );
+ actionCollection(), "build_install_tdesu" );
action->setToolTip(i18n("Install as root user"));
action->setWhatsThis(i18n("<b>Install</b><p>Runs <b>make install</b> command from the project directory with root privileges.<br>"
- "It is executed via kdesu command.<br>"
+ "It is executed via tdesu command.<br>"
"Environment variables and make arguments can be specified "
"in the project settings dialog, <b>Make Options</b> tab."));
action->setGroup("autotools");
@@ -706,7 +706,7 @@ void AutoProjectPart::startMakeCommand(const TQString &dir, const TQString &targ
m_buildCommand = constructMakeCommandLine(dir, target);
if (withKdesu)
- m_buildCommand = "kdesu -t -c '" + m_buildCommand + "'";
+ m_buildCommand = "tdesu -t -c '" + m_buildCommand + "'";
if (!m_buildCommand.isNull())
makeFrontend()->queueCommand(dir, m_buildCommand);
@@ -1099,8 +1099,8 @@ void AutoProjectPart::slotExecute()
if( DomUtil::readBoolEntry(dom, "/kdevautoproject/run/autoinstall", false) && isDirty() ){
m_executeAfterBuild = true;
- // Use kdesu??
- if( DomUtil::readBoolEntry(dom, "/kdevautoproject/run/autokdesu", false) ){
+ // Use tdesu??
+ if( DomUtil::readBoolEntry(dom, "/kdevautoproject/run/autotdesu", false) ){
//slotInstallWithKdesu assumes that it hasn't just been build...
kdDebug(9020) << "slotExecute: before startMakeCommand" << endl;
_auto ? slotInstallWithKdesu() : startMakeCommand(buildDirectory(), TQString::tqfromLatin1("install"), true);
@@ -1451,7 +1451,7 @@ void AutoProjectPart::startSimpleMakeCommand( const TQString & dir, const TQStri
m_buildCommand = dircmd + cmdline;
if (withKdesu)
- m_buildCommand = "kdesu -t -c '" + m_buildCommand + "'";
+ m_buildCommand = "tdesu -t -c '" + m_buildCommand + "'";
if (!m_buildCommand.isNull())
makeFrontend()->queueCommand(dir, m_buildCommand);
diff --git a/buildtools/autotools/autosubprojectview.cpp b/buildtools/autotools/autosubprojectview.cpp
index 3bd53803..0c27eb1b 100644
--- a/buildtools/autotools/autosubprojectview.cpp
+++ b/buildtools/autotools/autosubprojectview.cpp
@@ -255,7 +255,7 @@ void AutoSubprojectView::initActions()
TQT_TQOBJECT(this), TQT_SLOT( slotInstallSuSubproject() ), actions, "install subproject as root" );
installSuSubprojectAction->setWhatsThis(i18n("<qt><b>Install as root user</b><p>Runs <b>make install</b> "
"command from the directory of the selected subproject "
- "with root privileges.<br> It is executed via kdesu "
+ "with root privileges.<br> It is executed via tdesu "
"command.<br> Environment variables and make arguments "
"can be specified in the project settings dialog, "
"<b>Make Options</b> tab.</qt>"));
@@ -1082,7 +1082,7 @@ void AutoSubprojectView::slotCustomBuildCommand(int val)
break;
case 5: //command as root
m_part->appFrontend()->startAppCommand(m_part->buildDirectory() + relpath,
- "kdesu -t -c ' cd " +
+ "tdesu -t -c ' cd " +
KProcess::quote(m_part->buildDirectory() + relpath) + " && "
+ cmd + "'", false);
break;
diff --git a/buildtools/autotools/kdevautoproject.rc b/buildtools/autotools/kdevautoproject.rc
index 89571c11..eceff675 100644
--- a/buildtools/autotools/kdevautoproject.rc
+++ b/buildtools/autotools/kdevautoproject.rc
@@ -12,7 +12,7 @@
<Action name="build_configure" />
<Action name="build_makefilecvs" />
<Action name="build_install" />
- <Action name="build_install_kdesu" />
+ <Action name="build_install_tdesu" />
<Separator/>
<Action name="build_clean" />
<Action name="build_distclean" />