diff options
author | Ken Moore <moorekou@gmail.com> | 2016-08-18 15:50:49 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-08-18 15:50:49 -0400 |
commit | bd87d69b5c64a80a209e5cd8e3f0c7fac608c87c (patch) | |
tree | 1c3717afdba77275ad9b2028ee9eefae71682442 /src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp | |
parent | Oops - NOW the OS-detect.pri file is fixed for the LIBPREFIX variable (also c... (diff) | |
download | lumina-bd87d69b5c64a80a209e5cd8e3f0c7fac608c87c.tar.gz lumina-bd87d69b5c64a80a209e5cd8e3f0c7fac608c87c.tar.bz2 lumina-bd87d69b5c64a80a209e5cd8e3f0c7fac608c87c.zip |
Add in pending update detection/skipping ability to the main logout window (not the start menu options yet).
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp')
-rw-r--r-- | src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp b/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp index b3721e7d..62bbdb1c 100644 --- a/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp +++ b/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp @@ -131,13 +131,18 @@ bool LOS::systemPerformingUpdates(){ return false; //Not implemented yet } +//Return the details of any updates which are waiting to apply on shutdown +QString LOS::systemPendingUpdates(){ + return ""; +} + //System Shutdown -void LOS::systemShutdown(){ //start poweroff sequence +void LOS::systemShutdown(bool skipupdates){ //start poweroff sequence QProcess::startDetached("shutdown -h now"); } //System Restart -void LOS::systemRestart(){ //start reboot sequence +void LOS::systemRestart(bool skipupdates){ //start reboot sequence QProcess::startDetached("shutdown -r now"); } |