diff options
| author | Gregor Mi <[email protected]> | 2015-01-12 16:18:50 +0100 |
|---|---|---|
| committer | Gregor Mi <[email protected]> | 2015-01-12 16:18:50 +0100 |
| commit | 088b5160576c8ed317619855a4c9dc19a69d025b (patch) | |
| tree | 888579e40929cf868f5252ce08590494085cbab7 /src/statusbar/statusbarspaceinfo.h | |
| parent | 39b77e9861c1318bff1a26627dde3fd1c9c71861 (diff) | |
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.
Diffstat (limited to 'src/statusbar/statusbarspaceinfo.h')
| -rw-r--r-- | src/statusbar/statusbarspaceinfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |
