summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/daemondock.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 02:32:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 02:32:00 -0600
commit27f2cfdc57b75ea3994e31ad436464353d966cdd (patch)
tree0aab4fe14ca3ea9071b7a0d97529996e5bb35440 /klaptopdaemon/daemondock.cpp
parent73dc36225d414b2108708fac11960774f74a3a8a (diff)
downloadtdeutils-27f2cfdc57b75ea3994e31ad436464353d966cdd.tar.gz
tdeutils-27f2cfdc57b75ea3994e31ad436464353d966cdd.zip
Additional kde to tde renaming
Diffstat (limited to 'klaptopdaemon/daemondock.cpp')
-rw-r--r--klaptopdaemon/daemondock.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/klaptopdaemon/daemondock.cpp b/klaptopdaemon/daemondock.cpp
index c5c0a58..7c948b7 100644
--- a/klaptopdaemon/daemondock.cpp
+++ b/klaptopdaemon/daemondock.cpp
@@ -233,8 +233,8 @@ laptop_dock::invokeBrightness()
void laptop_dock::slotGoRoot(int /*id*/) {
#ifdef NOTDEF
- TQString kdesu = KStandardDirs::findExe("kdesu");
- if (!kdesu.isEmpty()) {
+ TQString tdesu = KStandardDirs::findExe("tdesu");
+ if (!tdesu.isEmpty()) {
int rc = KMessageBox::warningContinueCancel(0,
i18n("You will need to supply a root password "
"to allow KLaptopDaemon to restart "
@@ -246,7 +246,7 @@ void laptop_dock::slotGoRoot(int /*id*/) {
if (rc == KMessageBox::Continue) {
KProcess *_rootProcess;
_rootProcess = new KProcess;
- *_rootProcess << kdesu;
+ *_rootProcess << tdesu;
*_rootProcess << "-u";
*_rootProcess << "root";
//*_rootProcess << "--nonewdcop";
@@ -257,7 +257,7 @@ void laptop_dock::slotGoRoot(int /*id*/) {
// We should disable this menu item here now.
}
} else {
- KMessageBox::sorry(0, i18n("PCMCIA cannot be enabled since kdesu cannot be found. Please make sure that it is installed correctly."),
+ KMessageBox::sorry(0, i18n("PCMCIA cannot be enabled since tdesu cannot be found. Please make sure that it is installed correctly."),
i18n("KLaptopDaemon"));
}
#else