┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/statusbar/statusbarspaceinfo.h
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2014-05-25 14:43:18 +0200
committerEmmanuel Pescosta <[email protected]>2014-05-25 14:43:18 +0200
commitfa36c3fd1f53a223f43bb57d7c28e431a889a7c2 (patch)
treeddf2c2747d952babbdbcebb12c5d661953aef744 /src/statusbar/statusbarspaceinfo.h
parenta46121dc510f987f2d164b43eaf5f84ea8c83cb8 (diff)
parent4fe788f1157426e819f1ba31d1ee6388759cfd18 (diff)
Merge branch 'master' into frameworks
Conflicts: dolphin/src/statusbar/statusbarspaceinfo.cpp
Diffstat (limited to 'src/statusbar/statusbarspaceinfo.h')
-rw-r--r--src/statusbar/statusbarspaceinfo.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/statusbar/statusbarspaceinfo.h b/src/statusbar/statusbarspaceinfo.h
index 1849462a9..1065d9f45 100644
--- a/src/statusbar/statusbarspaceinfo.h
+++ b/src/statusbar/statusbarspaceinfo.h
@@ -31,6 +31,8 @@
class QHideEvent;
class QShowEvent;
+class SpaceInfoObserver;
+
/**
* @short Shows the available space for the volume represented
* by the given URL as part of the status bar.
@@ -51,15 +53,11 @@ protected:
void hideEvent(QHideEvent* event);
private slots:
- /**
- * Calculates the space information for the current set URL.
- */
- void calculateSpaceInfo();
+ void slotValuesChanged();
private:
- quint64 m_kBSize;
+ QScopedPointer<SpaceInfoObserver> m_observer;
KUrl m_url;
- QTimer* m_timer;
};
#endif