diff options
author | Ken Moore <moorekou@gmail.com> | 2015-08-19 17:15:56 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-08-19 17:15:56 -0400 |
commit | 40943240fc262d501e6a175f988e421a873d90b7 (patch) | |
tree | 0e8b33b03c31f177087514cceff879785c846580 /libLumina/LuminaUtils.h | |
parent | Add the XDG_DATA_* path support for relative application paths given in the m... (diff) | |
download | lumina-40943240fc262d501e6a175f988e421a873d90b7.tar.gz lumina-40943240fc262d501e6a175f988e421a873d90b7.tar.bz2 lumina-40943240fc262d501e6a175f988e421a873d90b7.zip |
Add a function to convert a number of bytes into a display string (3 digits)
Diffstat (limited to 'libLumina/LuminaUtils.h')
-rw-r--r-- | libLumina/LuminaUtils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libLumina/LuminaUtils.h b/libLumina/LuminaUtils.h index 6dcb9d45..b479e3ec 100644 --- a/libLumina/LuminaUtils.h +++ b/libLumina/LuminaUtils.h @@ -56,7 +56,8 @@ public: //Number format conversions 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) + //Various function for finding valid QtQuick plugins on the system static bool validQuickPlugin(QString ID); static QString findQuickPluginFile(QString ID); |