diff options
author | Ken Moore <ken@pcbsd.org> | 2015-04-27 15:05:03 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-04-27 15:05:03 -0400 |
commit | ddf397d485ddb2cc391f8e0e7fe74642891d62e9 (patch) | |
tree | 727677845f062d26288e82ef2997d1b813efcee8 /lumina-desktop/panel-plugins/desktopbar/LDeskBar.h | |
parent | Add support for system-defined default non-mime applications in the luminaDes... (diff) | |
download | lumina-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.h | 10 |
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: |