diff options
author | Ken Moore <moorekou@gmail.com> | 2014-10-08 09:16:10 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2014-10-08 09:16:10 -0400 |
commit | 4897f2a844a9901e6278665f83716b3974a5078b (patch) | |
tree | efb98920ebd16cfa9342dd392601a25fa9f12916 /lumina-desktop/AppMenu.h | |
parent | Merge pull request #15 from Nanolx/master (diff) | |
parent | make file-manager user-chooseable (diff) | |
download | lumina-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.h | 8 |
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(); |