From 088b5160576c8ed317619855a4c9dc19a69d025b Mon Sep 17 00:00:00 2001 From: Gregor Mi Date: Mon, 12 Jan 2015 16:18:50 +0100 Subject: Add disk usage statistics menu to SpaceInfo widget in the status bar: the menu has the following entries: 1. Filelight location 2. Filelight device 3. Filelight 4. KDiskFree KService is used to find the applications and display proper translations. KRun is used to run the applications. REVIEW: 121478 CHANGELOG: Add a menu on left-click on the SpaceInfo widget in the status bar to show Disk Usage statistics. --- src/statusbar/statusbarspaceinfo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/statusbar/statusbarspaceinfo.h') diff --git a/src/statusbar/statusbarspaceinfo.h b/src/statusbar/statusbarspaceinfo.h index 5d571beba..2ba7cbf0b 100644 --- a/src/statusbar/statusbarspaceinfo.h +++ b/src/statusbar/statusbarspaceinfo.h @@ -27,6 +27,7 @@ class QHideEvent; class QShowEvent; +class QMouseEvent; class SpaceInfoObserver; @@ -48,6 +49,7 @@ public: protected: void showEvent(QShowEvent* event) Q_DECL_OVERRIDE; void hideEvent(QHideEvent* event) Q_DECL_OVERRIDE; + void mousePressEvent(QMouseEvent* event) Q_DECL_OVERRIDE; private slots: void slotValuesChanged(); -- cgit v1.3