diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:29:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:29:48 -0600 |
commit | 2fb1ed0d03dda186096172cb76aedfd5e3953f94 (patch) | |
tree | b9754c7d27d6981c7a3800d3fc2eba9298145d04 /klaptopdaemon/daemondock.cpp | |
parent | 6ad068ea54051101d56514791a672144786c7063 (diff) | |
download | tdeutils-2fb1ed0d03dda186096172cb76aedfd5e3953f94.tar.gz tdeutils-2fb1ed0d03dda186096172cb76aedfd5e3953f94.zip |
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'klaptopdaemon/daemondock.cpp')
-rw-r--r-- | klaptopdaemon/daemondock.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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(); |