aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/AppMenu.h
diff options
context:
space:
mode:
authorChristopher Roy Bratusek <nano@jpberlin.de>2014-10-07 19:02:43 +0200
committerChristopher Roy Bratusek <nano@jpberlin.de>2014-10-07 19:02:43 +0200
commit91cbfe642b48aba712f4f60a827bfbef80aca125 (patch)
tree29b0b5be3a0eb0b3e53d144bf6ee1e1ab460aa86 /lumina-desktop/AppMenu.h
parentClean up the new global.h usage in all the Lumina subprojects. (diff)
downloadlumina-91cbfe642b48aba712f4f60a827bfbef80aca125.tar.gz
lumina-91cbfe642b48aba712f4f60a827bfbef80aca125.tar.bz2
lumina-91cbfe642b48aba712f4f60a827bfbef80aca125.zip
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