diff options
author | william <william.os4y@gmail.com> | 2015-03-14 21:34:39 +0100 |
---|---|---|
committer | william <william.os4y@gmail.com> | 2015-03-14 21:34:39 +0100 |
commit | 59bd42ae3da3da0181f6bbe53580fd741d17fae9 (patch) | |
tree | 258b5ac0db26d5553e1ed438cd993e0cab5ab38b /libLumina/LuminaUtils.h | |
parent | spelling error (diff) | |
parent | Add a new favoriting system to the Lumina Utils library. This should make thi... (diff) | |
download | lumina-59bd42ae3da3da0181f6bbe53580fd741d17fae9.tar.gz lumina-59bd42ae3da3da0181f6bbe53580fd741d17fae9.tar.bz2 lumina-59bd42ae3da3da0181f6bbe53580fd741d17fae9.zip |
Merge remote-tracking branch 'upstream/master' into deskEditor
Diffstat (limited to 'libLumina/LuminaUtils.h')
-rw-r--r-- | libLumina/LuminaUtils.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libLumina/LuminaUtils.h b/libLumina/LuminaUtils.h index ee716167..d0c8b3ad 100644 --- a/libLumina/LuminaUtils.h +++ b/libLumina/LuminaUtils.h @@ -44,6 +44,16 @@ public: //Load a translation file for a Lumina Project static void LoadTranslation(QApplication *app, QString appname); + + //Various functions for the favorites sub-system + // Formatting Note: "<name>::::[dir/file/app]::::<path>" + // the <name> field might not be used for "app" flagged entries + static QStringList listFavorites(); + static bool saveFavorites(QStringList); + static bool isFavorite(QString path); + static bool addFavorite(QString path, QString name = ""); + static void removeFavorite(QString path); + //Load the default setup for the system static void LoadSystemDefaults(bool skipOS = false); |