aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-09-18 08:58:59 -0400
committerKen Moore <ken@ixsystems.com>2017-09-18 08:58:59 -0400
commitbf9863518213fea4003e4d95743db6ffdf3ae29c (patch)
tree689897497eb81bd7c8bae9eab5712ccdf27ef308 /src-qt5/core
parentCommit a "scrollbar-simple.qss" file, and some WIP on updating X cursors on t... (diff)
downloadlumina-bf9863518213fea4003e4d95743db6ffdf3ae29c.tar.gz
lumina-bf9863518213fea4003e4d95743db6ffdf3ae29c.tar.bz2
lumina-bf9863518213fea4003e4d95743db6ffdf3ae29c.zip
Deactivate the "themes" page within lumina-config.
Replace that button with one that launches the theme engine config tool.
Diffstat (limited to 'src-qt5/core')
-rw-r--r--src-qt5/core/libLumina/LUtils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src-qt5/core/libLumina/LUtils.h b/src-qt5/core/libLumina/LUtils.h
index bfa900b1..a494d4da 100644
--- a/src-qt5/core/libLumina/LUtils.h
+++ b/src-qt5/core/libLumina/LUtils.h
@@ -55,7 +55,7 @@ public:
//Create the exec string to open a terminal in a particular directory
static QString GenerateOpenTerminalExec(QString term, QString dirpath);
-
+
//List all the sub-directories of a parent dir (recursive)
static QStringList listSubDirectories(QString dir, bool recursive = true);
@@ -66,18 +66,18 @@ public:
//Get the list of all file extensions which Qt can read (lowercase)
static QStringList imageExtensions(bool wildcards = false);
static QStringList videoExtensions();
-
+
//Load a translation file for a Lumina Project
static QTranslator* LoadTranslation(QApplication *app, QString appname, QString locale = "", QTranslator *cTrans = 0);
//Other localization shortcuts
static QStringList knownLocales(); //Note: This only lists locales known to Lumina (so the i18n files need to be installed)
static void setLocaleEnv(QString lang, QString msg="", QString time="", QString num="" ,QString money="",QString collate="", QString ctype="");
static QString currentLocale();
-
+
//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)
-
+
static QString SecondsToDisplay(int secs); //convert into a readable time
};
#endif
bgstack15