aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/userbutton/UserWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/panel-plugins/userbutton/UserWidget.h')
-rw-r--r--lumina-desktop/panel-plugins/userbutton/UserWidget.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lumina-desktop/panel-plugins/userbutton/UserWidget.h b/lumina-desktop/panel-plugins/userbutton/UserWidget.h
index c7af2a4d..2dce25b4 100644
--- a/lumina-desktop/panel-plugins/userbutton/UserWidget.h
+++ b/lumina-desktop/panel-plugins/userbutton/UserWidget.h
@@ -42,7 +42,9 @@ public slots:
private:
Ui::UserWidget *ui;
QHash<QString, QList<XDGDesktop> > *sysapps;
- QDateTime lastUpdate;
+ QDateTime lastUpdate, lastHomeUpdate;
+ QStringList favs;
+ QFileInfoList homefiles;
int cfav; //current favorite category
void ClearScrollArea(QScrollArea *area);
QIcon rotateIcon(QIcon);
@@ -52,7 +54,7 @@ private slots:
//Favorites Tab
void FavChanged(); //for ensuring radio-button-like behaviour
- void updateFavItems();
+ void updateFavItems(bool newfilter = true); //if false, will only update if filesystem changes
//Apps Tab
void updateAppCategories();
@@ -63,6 +65,7 @@ private slots:
void slotGoToDir(QString dir);
void slotGoHome();
void slotOpenDir();
+ void slotOpenSearch();
//Slots for the special buttons
void openStore(){
bgstack15