summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/apm.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-31 13:29:48 -0600
committerTimothy Pearson <[email protected]>2013-01-31 13:29:48 -0600
commit2fb1ed0d03dda186096172cb76aedfd5e3953f94 (patch)
treeb9754c7d27d6981c7a3800d3fc2eba9298145d04 /klaptopdaemon/apm.cpp
parent6ad068ea54051101d56514791a672144786c7063 (diff)
downloadtdeutils-2fb1ed0d03dda186096172cb76aedfd5e3953f94.tar.gz
tdeutils-2fb1ed0d03dda186096172cb76aedfd5e3953f94.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'klaptopdaemon/apm.cpp')
-rw-r--r--klaptopdaemon/apm.cpp6
1 files changed, 3 insertions, 3 deletions
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 "