aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/LSession.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-04-27 10:01:23 -0400
committerKen Moore <ken@ixsystems.com>2018-04-27 10:02:29 -0400
commit6c41b741d4c25ee1a9439d4b3779bccbb9f3fff3 (patch)
tree860e3b5155cdd177193c4cabdec15d7dd79c83b6 /src-qt5/core/lumina-desktop/LSession.h
parentCommit a bunch more work on the Lumina 2 screen reservations. (diff)
downloadlumina-6c41b741d4c25ee1a9439d4b3779bccbb9f3fff3.tar.gz
lumina-6c41b741d4c25ee1a9439d4b3779bccbb9f3fff3.tar.bz2
lumina-6c41b741d4c25ee1a9439d4b3779bccbb9f3fff3.zip
Cleanup the icon loading routines for battery status.
This should make it generic enough to support all XDG icon themes.
Diffstat (limited to 'src-qt5/core/lumina-desktop/LSession.h')
-rw-r--r--src-qt5/core/lumina-desktop/LSession.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop/LSession.h b/src-qt5/core/lumina-desktop/LSession.h
index 824eede7..bc36b6b8 100644
--- a/src-qt5/core/lumina-desktop/LSession.h
+++ b/src-qt5/core/lumina-desktop/LSession.h
@@ -53,6 +53,8 @@ public:
LSession(int &argc, char **argv);
~LSession();
+ static QString batteryIconName(int charge, bool charging);
+
static bool checkUserFiles();
//Functions to be called during startup
void setupSession();
bgstack15