diff options
Diffstat (limited to 'src-qt5/core/libLumina/LUtils.h')
-rw-r--r-- | src-qt5/core/libLumina/LUtils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/LUtils.h b/src-qt5/core/libLumina/LUtils.h index 459fca60..4ad05ca1 100644 --- a/src-qt5/core/libLumina/LUtils.h +++ b/src-qt5/core/libLumina/LUtils.h @@ -25,6 +25,7 @@ #include <QRegExp> #include <QFuture> #include <QScreen> +#include <QSettings> class LUtils{ public: @@ -46,6 +47,9 @@ public: return isValidBinary(bins); //overload for a "junk" binary variable input } + //Open the right settings file (user/permissions aware) + static QSettings* openSettings(QString org, QString name, QObject *parent = 0); + //Return all the dirs on the system which contain .desktop files static QStringList systemApplicationDirs(); |