From b4e545384b42deff2db00ff815c4cacbeb5d1860 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 6 Nov 2011 02:32:07 -0600 Subject: Additional kde to tde renaming --- buildtools/autotools/autoprojectpart.cpp | 12 ++++++------ buildtools/autotools/autosubprojectview.cpp | 4 ++-- buildtools/autotools/kdevautoproject.rc | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'buildtools/autotools') 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("Install

Runs make install command from the project directory with root privileges.
" - "It is executed via kdesu command.
" + "It is executed via tdesu command.
" "Environment variables and make arguments can be specified " "in the project settings dialog, Make Options 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("Install as root user

Runs make install " "command from the directory of the selected subproject " - "with root privileges.
It is executed via kdesu " + "with root privileges.
It is executed via tdesu " "command.
Environment variables and make arguments " "can be specified in the project settings dialog, " "Make Options tab.")); @@ -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 @@ - + -- cgit v1.2.1