summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon
diff options
context:
space:
mode:
Diffstat (limited to 'klaptopdaemon')
-rw-r--r--klaptopdaemon/acpi.cpp4
-rw-r--r--klaptopdaemon/apm.cpp6
-rw-r--r--klaptopdaemon/daemondock.cpp6
-rw-r--r--klaptopdaemon/portable.cpp4
-rw-r--r--klaptopdaemon/sony.cpp2
5 files changed, 11 insertions, 11 deletions
diff --git a/klaptopdaemon/acpi.cpp b/klaptopdaemon/acpi.cpp
index cf04dab..131e92c 100644
--- a/klaptopdaemon/acpi.cpp
+++ b/klaptopdaemon/acpi.cpp
@@ -163,10 +163,10 @@ AcpiConfig::~AcpiConfig()
void AcpiConfig::setupHelper()
{
unsigned long len, crc;
- TQString helper = KStandardDirs::findExe("klaptop_acpi_helper");
+ TQString helper = TDEStandardDirs::findExe("klaptop_acpi_helper");
checkcrc(TQFile::encodeName(helper), len, crc);
- TQString tdesu = KStandardDirs::findExe("tdesu");
+ TQString tdesu = TDEStandardDirs::findExe("tdesu");
if (!tdesu.isEmpty()) {
int rc = KMessageBox::warningContinueCancel(0,
i18n("You will need to supply a root password "
diff --git a/klaptopdaemon/apm.cpp b/klaptopdaemon/apm.cpp
index 8f231e5..bde1410 100644
--- a/klaptopdaemon/apm.cpp
+++ b/klaptopdaemon/apm.cpp
@@ -154,7 +154,7 @@ ApmConfig::~ApmConfig()
void ApmConfig::setupHelper()
{
- TQString tdesu = KStandardDirs::findExe("tdesu");
+ TQString tdesu = TDEStandardDirs::findExe("tdesu");
if (!tdesu.isEmpty()) {
int rc = KMessageBox::warningContinueCancel(0,
i18n("You will need to supply a root password "
@@ -185,10 +185,10 @@ void ApmConfig::setupHelper()
void ApmConfig::setupHelper2() // we use the acpi helper to do software suspend
{
unsigned long len, crc;
- TQString helper = KStandardDirs::findExe("klaptop_acpi_helper");
+ TQString helper = TDEStandardDirs::findExe("klaptop_acpi_helper");
checkcrc(helper.latin1(), len, crc);
- TQString tdesu = KStandardDirs::findExe("tdesu");
+ TQString tdesu = TDEStandardDirs::findExe("tdesu");
if (!tdesu.isEmpty()) {
int rc = KMessageBox::warningContinueCancel(0,
i18n("You will need to supply a root password "
diff --git a/klaptopdaemon/daemondock.cpp b/klaptopdaemon/daemondock.cpp
index cdac1e1..f91d43d 100644
--- a/klaptopdaemon/daemondock.cpp
+++ b/klaptopdaemon/daemondock.cpp
@@ -233,7 +233,7 @@ laptop_dock::invokeBrightness()
void laptop_dock::slotGoRoot(int /*id*/) {
#ifdef NOTDEF
- TQString tdesu = KStandardDirs::findExe("tdesu");
+ TQString tdesu = TDEStandardDirs::findExe("tdesu");
if (!tdesu.isEmpty()) {
int rc = KMessageBox::warningContinueCancel(0,
i18n("You will need to supply a root password "
@@ -250,7 +250,7 @@ void laptop_dock::slotGoRoot(int /*id*/) {
*_rootProcess << "-u";
*_rootProcess << "root";
//*_rootProcess << "--nonewdcop";
- *_rootProcess << KStandardDirs::findExe("klaptopdaemon");
+ *_rootProcess << TDEStandardDirs::findExe("klaptopdaemon");
connect(_rootProcess, TQT_SIGNAL(processExited(TDEProcess*)),
this, TQT_SLOT(rootExited(TDEProcess*)));
_rootProcess->start(TDEProcess::NotifyOnExit);
@@ -526,7 +526,7 @@ void laptop_dock::invokeLockSuspend()
void laptop_dock::invokeSetup()
{
TDEProcess proc;
- proc << KStandardDirs::findExe("tdecmshell");
+ proc << TDEStandardDirs::findExe("tdecmshell");
proc << "laptop";
proc.start(TDEProcess::DontCare);
proc.detach();
diff --git a/klaptopdaemon/portable.cpp b/klaptopdaemon/portable.cpp
index 9f551dd..b351a1c 100644
--- a/klaptopdaemon/portable.cpp
+++ b/klaptopdaemon/portable.cpp
@@ -746,7 +746,7 @@ static void
invoke_acpi_helper(const char *param, const char *param2, const char *param3)
{
TDEProcess proc;
- proc << KStandardDirs::findExe("klaptop_acpi_helper");
+ proc << TDEStandardDirs::findExe("klaptop_acpi_helper");
proc << param;
if (param2)
proc << param2;
@@ -1358,7 +1358,7 @@ acpi_helper_ok(bool type)
known[type] = last_seed;
known_res[type] = 0;
struct stat sb;
- TQString str = KStandardDirs::findExe("klaptop_acpi_helper");
+ TQString str = TDEStandardDirs::findExe("klaptop_acpi_helper");
if (str.isNull() || str.isEmpty())
return(0);
diff --git a/klaptopdaemon/sony.cpp b/klaptopdaemon/sony.cpp
index 16d0155..33d3a05 100644
--- a/klaptopdaemon/sony.cpp
+++ b/klaptopdaemon/sony.cpp
@@ -107,7 +107,7 @@ SonyConfig::SonyConfig(TQWidget * parent, const char *name)
void SonyConfig::setupHelper()
{
- TQString tdesu = KStandardDirs::findExe("tdesu");
+ TQString tdesu = TDEStandardDirs::findExe("tdesu");
if (!tdesu.isEmpty()) {
int rc = KMessageBox::warningContinueCancel(0,
i18n("You will need to supply a root password "