#include <kcapacitybar.h>
class KDiskFreeSp;
+class QHideEvent;
+class QShowEvent;
/**
* @short Shows the available space for the volume represented
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();
private:
quint64 m_kBSize;
KUrl m_url;
+ QTimer* m_timer;
};
inline const KUrl& StatusBarSpaceInfo::url() const