aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-04-27 15:05:03 -0400
committerKen Moore <ken@pcbsd.org>2015-04-27 15:05:03 -0400
commitddf397d485ddb2cc391f8e0e7fe74642891d62e9 (patch)
tree727677845f062d26288e82ef2997d1b813efcee8 /lumina-desktop/panel-plugins/desktopbar/LDeskBar.h
parentAdd support for system-defined default non-mime applications in the luminaDes... (diff)
downloadlumina-ddf397d485ddb2cc391f8e0e7fe74642891d62e9.tar.gz
lumina-ddf397d485ddb2cc391f8e0e7fe74642891d62e9.tar.bz2
lumina-ddf397d485ddb2cc391f8e0e7fe74642891d62e9.zip
Setup the lumina-desktop to use the new favorites system:
1) Convert any old system to the new one on login (0.8.4-devel users will need to wait until 0.8.4-release or 0.8.5-devel - the next change to the session version). 2) Update the User Buton plugin to use the new system and streamline when it actually probes the filesystem for changes (makes it even faster) 3) Update the Desktop Bar plugin to use the new system as well.
Diffstat (limited to 'lumina-desktop/panel-plugins/desktopbar/LDeskBar.h')
-rw-r--r--lumina-desktop/panel-plugins/desktopbar/LDeskBar.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h b/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h
index 1e42bd95..8e624dc2 100644
--- a/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h
+++ b/lumina-desktop/panel-plugins/desktopbar/LDeskBar.h
@@ -43,17 +43,19 @@ private:
//Special toolbuttons and menus
QToolButton *appB, *fileB, *dirB;
QMenu *appM, *dirM, *audioM, *videoM, *pictureM, *fileM, *otherM, *docM;
- QStringList audioFilter, videoFilter, pictureFilter, docsFilter;
- QFileInfoList totals;
+ //QStringList audioFilter, videoFilter, pictureFilter, docsFilter;
+ QFileInfoList homefiles;
+ QStringList favs;
QList<QToolButton*> APPLIST;
-
+ QDateTime lastHomeUpdate;
+
void initializeDesktop();
//bool readDesktopFile(QString path, QString &name, QString &iconpath);
QAction* newAction(QString filepath, QString name, QString iconpath);
QAction* newAction(QString filepath, QString name, QIcon icon);
- void updateMenu(QMenu* menu, QFileInfoList files, bool trim = true);
+ //void updateMenu(QMenu* menu, QFileInfoList files, bool trim = true);
private slots:
bgstack15