summaryrefslogtreecommitdiffstats
path: root/basicsuite/Launcher Settings/PoweroffAction.qml
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/Launcher Settings/PoweroffAction.qml')
-rw-r--r--basicsuite/Launcher Settings/PoweroffAction.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/basicsuite/Launcher Settings/PoweroffAction.qml b/basicsuite/Launcher Settings/PoweroffAction.qml
new file mode 100644
index 0000000..fd0e215
--- /dev/null
+++ b/basicsuite/Launcher Settings/PoweroffAction.qml
@@ -0,0 +1,8 @@
+import QtQuick.Controls 1.0
+import QtDroid.Utils 1.0
+
+Action
+{
+ text: "Power Off!"
+ onTriggered: DroidUtils.powerOffSystem()();
+}