From d380d27f47a67e6e682a4b980c66585f13a3d7b5 Mon Sep 17 00:00:00 2001 From: Mathias Tillman Date: Sun, 14 Sep 2014 18:53:05 +0200 Subject: Make the statusbar space info use the new KIO::fileSystemFreeSpace job. REVIEW: 120137 BUG: 245226 --- src/statusbar/spaceinfoobserver.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/statusbar/spaceinfoobserver.h') diff --git a/src/statusbar/spaceinfoobserver.h b/src/statusbar/spaceinfoobserver.h index d2fb6ebf3..68c559ec9 100644 --- a/src/statusbar/spaceinfoobserver.h +++ b/src/statusbar/spaceinfoobserver.h @@ -22,6 +22,8 @@ #include +#include + class KUrl; class MountPointObserver; @@ -40,12 +42,18 @@ public: signals: /** - * This signal is emitted if the information that size() and/or available() will return has changed. + * This signal is emitted when the size or available space changes. */ void valuesChanged(); +private slots: + void spaceInfoChanged(quint64 size, quint64 available); + private: MountPointObserver* m_mountPointObserver; + + quint64 m_dataSize; + quint64 m_dataAvailable; }; #endif -- cgit v1.3