diff options
author | Ken Moore <ken@pcbsd.org> | 2014-12-30 11:20:57 -0500 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2014-12-30 11:20:57 -0500 |
commit | 3cee91a627ecced62f7eefdc38850ea5499f761c (patch) | |
tree | 93f59249f318a34ad5d9789bac1d155596eb7ff5 /libLumina/LuminaUtils.h | |
parent | Commit some more XLib->XCB conversions (everything for the task manager), and... (diff) | |
download | lumina-3cee91a627ecced62f7eefdc38850ea5499f761c.tar.gz lumina-3cee91a627ecced62f7eefdc38850ea5499f761c.tar.bz2 lumina-3cee91a627ecced62f7eefdc38850ea5499f761c.zip |
Clean up how translations are loaded for all the Lumina utilities, and also apply the relative path fixes to all LSingleApplication's forwarded inputs.
Diffstat (limited to 'libLumina/LuminaUtils.h')
-rw-r--r-- | libLumina/LuminaUtils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libLumina/LuminaUtils.h b/libLumina/LuminaUtils.h index 3a75fc3b..28deb59a 100644 --- a/libLumina/LuminaUtils.h +++ b/libLumina/LuminaUtils.h @@ -17,6 +17,8 @@ #include <QFile> #include <QFileInfo> #include <QObject> +#include <QTranslator> +#include <QApplication> class LUtils{ public: @@ -35,6 +37,9 @@ public: //List all the sub-directories of a parent dir (recursive) static QStringList listSubDirectories(QString dir, bool recursive = true); + + //Load a translation file for a Lumina Project + static void LoadTranslation(QApplication *app, QString appname); }; #endif |