summaryrefslogtreecommitdiffstats
path: root/src/fbgui.h
diff options
context:
space:
mode:
authorNiklas Goby2011-04-18 13:48:53 +0200
committerNiklas Goby2011-04-18 13:48:53 +0200
commita2dc47f21b2c20fe75c719937bdcab9aff976bd2 (patch)
treebf529eb38f59d3c2fab5bbdddd34a32cc4d9eae9 /src/fbgui.h
parentMerge branch 'master' of git.openslx.org:lsfks/master-teamprojekt/fbgui (diff)
downloadfbgui-a2dc47f21b2c20fe75c719937bdcab9aff976bd2.tar.gz
fbgui-a2dc47f21b2c20fe75c719937bdcab9aff976bd2.tar.xz
fbgui-a2dc47f21b2c20fe75c719937bdcab9aff976bd2.zip
two new methods in the JavascriptInterface class. public slot methods:
shutDown() and reboot() both emit a signal (shutDownClient() / rebootClient() ) which is connected in the fbgui class with the fbgui::performShutDown() / fbgui::performReboot() method. (ticket: #215)
Diffstat (limited to 'src/fbgui.h')
-rw-r--r--src/fbgui.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fbgui.h b/src/fbgui.h
index a703d6e..25911fd 100644
--- a/src/fbgui.h
+++ b/src/fbgui.h
@@ -103,6 +103,12 @@ private slots:
// triggered by fileChanged Signal of _watcher
// deletes _watcher, since we don't need it anymore and tries to load URL.
void prepareURLLoad();
+
+ // shut off the system
+ void performShutDown();
+
+ // reboot the system
+ void performReboot();
};
#endif // FBGUI_H