X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/cd3e667e9c29d848f1a21fb37b1182adceeab27d..b1c9b5126d:/src/statusbarspaceinfo.h diff --git a/src/statusbarspaceinfo.h b/src/statusbarspaceinfo.h index 839c74e1a..06d060538 100644 --- a/src/statusbarspaceinfo.h +++ b/src/statusbarspaceinfo.h @@ -29,6 +29,8 @@ #include class KDiskFreeSp; +class QHideEvent; +class QShowEvent; /** * @short Shows the available space for the volume represented @@ -45,6 +47,10 @@ public: void setUrl(const KUrl& url); const KUrl& url() const; +protected: + void showEvent(QShowEvent* event); + void hideEvent(QHideEvent* event); + private slots: /** Refreshes the space information for the current set URL. */ void refresh(); @@ -52,6 +58,7 @@ private slots: private: quint64 m_kBSize; KUrl m_url; + QTimer* m_timer; }; inline const KUrl& StatusBarSpaceInfo::url() const