aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaUtils.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-09-10 12:39:35 -0400
committerKen Moore <moorekou@gmail.com>2015-09-10 12:39:35 -0400
commit3365faa51cbd133e960d4ea6d3c6c930390c4b95 (patch)
tree4b807631ae4a45dc29e13e3deb64551fcc55d737 /libLumina/LuminaUtils.h
parentAdd a new panel plugin: systemstart (diff)
downloadlumina-3365faa51cbd133e960d4ea6d3c6c930390c4b95.tar.gz
lumina-3365faa51cbd133e960d4ea6d3c6c930390c4b95.tar.bz2
lumina-3365faa51cbd133e960d4ea6d3c6c930390c4b95.zip
Add come fixes to libLumina to work with the new systemstart plugin, and adjust the theme files accordingly.
Diffstat (limited to 'libLumina/LuminaUtils.h')
-rw-r--r--libLumina/LuminaUtils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libLumina/LuminaUtils.h b/libLumina/LuminaUtils.h
index 06552d1f..f68cf413 100644
--- a/libLumina/LuminaUtils.h
+++ b/libLumina/LuminaUtils.h
@@ -61,6 +61,8 @@ public:
static double DisplaySizeToBytes(QString num); //Turn a display size (like 50M or 50KB) into a double for calculations (bytes)
static QString BytesToDisplaySize(qint64 bytes); //convert into a readable size (like 50M or 50KB)
+ static QString SecondsToDisplay(int secs); //convert into a readable time
+
//Various function for finding valid QtQuick plugins on the system
static bool validQuickPlugin(QString ID);
static QString findQuickPluginFile(QString ID);
bgstack15