aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/AppMenu.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2014-10-08 09:16:10 -0400
committerKen Moore <moorekou@gmail.com>2014-10-08 09:16:10 -0400
commit4897f2a844a9901e6278665f83716b3974a5078b (patch)
treeefb98920ebd16cfa9342dd392601a25fa9f12916 /lumina-desktop/AppMenu.h
parentMerge pull request #15 from Nanolx/master (diff)
parentmake file-manager user-chooseable (diff)
downloadlumina-4897f2a844a9901e6278665f83716b3974a5078b.tar.gz
lumina-4897f2a844a9901e6278665f83716b3974a5078b.tar.bz2
lumina-4897f2a844a9901e6278665f83716b3974a5078b.zip
Merge pull request #16 from Nanolx/side-work
make file-manager user-chooseable
Diffstat (limited to 'lumina-desktop/AppMenu.h')
-rw-r--r--lumina-desktop/AppMenu.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lumina-desktop/AppMenu.h b/lumina-desktop/AppMenu.h
index 1657d9e2..2d737284 100644
--- a/lumina-desktop/AppMenu.h
+++ b/lumina-desktop/AppMenu.h
@@ -19,6 +19,7 @@
#include <QDateTime>
#include <QHash>
#include <QAction>
+#include <QSettings>
//#include <QProcess>
// libLumina includes
@@ -29,18 +30,19 @@ class AppMenu : public QMenu{
public:
AppMenu(QWidget *parent = 0);
~AppMenu();
-
+
QHash<QString, QList<XDGDesktop> > *currentAppHash();
QDateTime lastHashUpdate;
private:
+ QSettings *settings;
QFileSystemWatcher *watcher;
QString appstorelink, controlpanellink;
QList<QMenu> MLIST;
QHash<QString, QList<XDGDesktop> > APPS;
-
+
void updateAppList(); //completely update the menu lists
-
+
private slots:
void start(); //This is called in a new thread after initialization
void watcherUpdate();
bgstack15