diff options
author | Ken Moore <ken@ixsystems.com> | 2017-02-28 16:12:42 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-02-28 16:12:42 -0500 |
commit | a2f40d986bdb6a235f8619a7e3578ada1ca270ac (patch) | |
tree | 5128e2dd1508798e6eb179f841da65776d22196e /src-qt5/core/libLumina/LuminaOS-template.cpp | |
parent | Track down and fix a really weird Fluxbox bug: (diff) | |
parent | Translated using Weblate (lumina_CONFIG@lt (generated)) (diff) | |
download | lumina-a2f40d986bdb6a235f8619a7e3578ada1ca270ac.tar.gz lumina-a2f40d986bdb6a235f8619a7e3578ada1ca270ac.tar.bz2 lumina-a2f40d986bdb6a235f8619a7e3578ada1ca270ac.zip |
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS-template.cpp')
-rw-r--r-- | src-qt5/core/libLumina/LuminaOS-template.cpp | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-template.cpp b/src-qt5/core/libLumina/LuminaOS-template.cpp index c6dedf3b..90aab15c 100644 --- a/src-qt5/core/libLumina/LuminaOS-template.cpp +++ b/src-qt5/core/libLumina/LuminaOS-template.cpp @@ -9,7 +9,7 @@ #include <unistd.h> #include <stdio.h> // Needed for BUFSIZ -QString LOS::OSName(){ return "Sample"; } +QString LOS::OSName(){ return "Unknown"; } //OS-specific prefix(s) // NOTE: PREFIX, L_ETCDIR, L_SHAREDIR are defined in the OS-detect.pri project file and passed in @@ -39,7 +39,7 @@ int LOS::ScreenBrightness(){ } //Set screen brightness -void LOS::setScreenBrightness(int percent){ +void LOS::setScreenBrightness(int){ //percent: 0-100 //not implemented yet } @@ -50,12 +50,12 @@ int LOS::audioVolume(){ } //Set the current volume -void LOS::setAudioVolume(int percent){ +void LOS::setAudioVolume(int){ //percent: 0-100 //not implemented yet } //Change the current volume a set amount (+ or -) -void LOS::changeAudioVolume(int percentdiff){ +void LOS::changeAudioVolume(int){ //percent difference from current (+ or -) //not implemented yet } @@ -84,12 +84,14 @@ QString LOS::systemPendingUpdates(){ } //System Shutdown -void LOS::systemShutdown(bool skipupdates){ //start poweroff sequence +void LOS::systemShutdown(bool){ //start poweroff sequence + //INPUT: skip updates (true/false) QProcess::startDetached("shutdown -p now"); } //System Restart -void LOS::systemRestart(bool skipupdates){ //start reboot sequence +void LOS::systemRestart(bool){ //start reboot sequence + //INPUT: skip updates (true/false) QProcess::startDetached("shutdown -r now"); } @@ -124,12 +126,14 @@ int LOS::batterySecondsLeft(){ //Returns: estimated number of seconds remaining } //File Checksums -QStringList LOS::Checksums(QStringList filepaths){ //Return: checksum of the input file - return QStringList(); +QStringList LOS::Checksums(QStringList){ //QStringList filepaths + //Return: checksum of the input file + return QStringList(); } //file system capacity -QString LOS::FileSystemCapacity(QString dir) { //Return: percentage capacity as give by the df command +QString LOS::FileSystemCapacity(QString) { //QString directory path + //Return: percentage capacity as give by the df command return QString(); } |