diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:23:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-20 00:23:57 -0600 |
commit | 2877440fbda2e245d04f534ed51d7cb7c0a06482 (patch) | |
tree | 874d2d10bf56b0547de792b6b6d48c4e895be034 /klaptopdaemon/laptop_daemon.cpp | |
parent | 6fdacb9c2e3adb3b5da38cd8a22afc1668e1d36b (diff) | |
download | tdeutils-2877440fbda2e245d04f534ed51d7cb7c0a06482.tar.gz tdeutils-2877440fbda2e245d04f534ed51d7cb7c0a06482.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'klaptopdaemon/laptop_daemon.cpp')
-rw-r--r-- | klaptopdaemon/laptop_daemon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/klaptopdaemon/laptop_daemon.cpp b/klaptopdaemon/laptop_daemon.cpp index 5b710c5..3d1caab 100644 --- a/klaptopdaemon/laptop_daemon.cpp +++ b/klaptopdaemon/laptop_daemon.cpp @@ -820,14 +820,14 @@ void laptop_daemon::invokeHibernate() void laptop_daemon::invokeLogout() { - bool rc = kapp->requestShutDown(KApplication::ShutdownConfirmNo, KApplication::ShutdownTypeNone, KApplication::ShutdownModeForceNow); + bool rc = kapp->requestShutDown(TDEApplication::ShutdownConfirmNo, TDEApplication::ShutdownTypeNone, TDEApplication::ShutdownModeForceNow); if (!rc) KMessageBox::sorry(0, i18n("Logout failed.")); } void laptop_daemon::invokeShutdown() { - bool rc = kapp->requestShutDown(KApplication::ShutdownConfirmNo, KApplication::ShutdownTypeHalt, KApplication::ShutdownModeForceNow); + bool rc = kapp->requestShutDown(TDEApplication::ShutdownConfirmNo, TDEApplication::ShutdownTypeHalt, TDEApplication::ShutdownModeForceNow); if (!rc) KMessageBox::sorry(0, i18n("Shutdown failed.")); } |